home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
126-150
/
scopedisk139
/
frqlibrary
/
fr_bypass.doc
< prev
next >
Wrap
Text File
|
1995-03-19
|
4KB
|
117 lines
---------------------
| FR Bypass 2.20 |
| |
| By: Khalid Aldoseri |
---------------------
FR_Bypass allows the file requester in 'kd_freq.library' to be used with
many programs that use other file requesters in libraries.
FR_Bypass will replace the file requesters in the following libraries:
arp.library The ARP file requester.
req.library The file requester that comes with CED Pro 2.
asl.library The standard file requester in AmigaDOS 2.0 and above.
Once the bypass is installed, every time a program calls any of the above
file requesters, mine will come up instead!
Installation:
-------------
Copy FR_Bypass to your C: directory, and add it to your startup-sequence.
A window will come up informing you of the success of its installation.
If it says 'Installation failed' then 'kd_freq.library' wasn't in the
LIBS: directory. Otherwise it will report the libraries found and bypassed.
This can be something like this:
'Installed: ARP REQ ASL Injector'
It will not allow you to run multiple copies of itself. You can quit it at
any time by hitting 'right shift-right alt-q'.
Required files:
---------------
File name Optional? Version
-------------------- --------- ------------
LIBS:kd_freq.library Mandatory 2.0 or above
LIBS:arp.library Optional Any version
LIBS:asl.library Optional Any version
LIBS:req.library Optional Any version
Programmer's Note:
------------------
FR_Bypass allows you to code for a standard file requester, like the
asl.library requester, and still allow the user access to a high-powered
file requester if he/she wants one.
You do not have to worry about my library at all. All you need to do
is to code as usual for one of the above libraries and FR_Bypass will
handle the differences in calling procedures between that FR and my FR.
e.g. In the case or ARP, it will trap the normal ARP FR call, read the
ARP FileRequester structure, set the right calling procedure for my FR,
call my FR, return from it, and set the right results in ARP format,
and return the call to your program. Your program will not know the
difference. Of course, using this technique has one disadvantage:
You cannot use some special features of my FR, like extended select.
Limitations:
------------
If the bypass code cannot handle a specific situation, e.g. if the
req.library call is used to bring up a font requester, Bypass will
call the original file requester since my f-r cannot handle this
request reasonably.
File Injector:
--------------
This uses my FR to allow you to select a directory/file at any time and
'inject' its name into the keyboard stream.
To invoke the FR hit the 'right shift-right alt-r' key and the FR will show
up on the front screen. You then select a file from the requester and click
on OK.
After that, you can, at any time, hit the 'right shift-right alt-s' key and
Inject will feed the directory/filename into the keyboard stream. You can
also feed only the directory name by using the 'right shift-right alt-d' key
or the filename alone by using the 'right shift-right alt-f' key.
Summary of functions: (all keys are with right shift-right alt combo)
Key Action
--- --------------------------
r Call up file requester.
s Inject directory+filename.
d Inject directory.
f Inject filename.
q Quit (unload) program.
----------------------------------
| Copyright 1990 Khalid Aldoseri. |
| 13 July 1990. |
----------------------------------
CygnusEd Professional & CED are Copyright 1987,1988,1989 CygnusSoft Software.
ARP is Copyright 1987,1988,1989 by ARP Authors.
Req.library was written by Colin Fox (of Pyramyd Designs) and Bruce Dawson
(of CygnusSoft Software).
asl.library comes with AmigaDOS version 2.0 and above.
I believe this is Copyright CBM.